package com.darren.euc.service;

import java.util.List;

import com.darren.euc.entity.HanWangRecord;
import com.darren.euc.entity.PageBean;

import net.sf.json.JSONObject;

public interface HanWangRecordService {
    
	public HanWangRecord save(HanWangRecord hanWangRecord);
    
	public HanWangRecord update(HanWangRecord hanWangRecord);
	
	public HanWangRecord findById(Integer hanWangRecordId);
	
	public void delete(HanWangRecord hanWangRecord);
    
	public List<HanWangRecord> getAll();
	
	public HanWangRecord getLastRecord();
    
	@SuppressWarnings("rawtypes")
	public PageBean queryForPageUseHQL(JSONObject requestJson,Integer pageSize, Integer currentPage);
    
}